
package net.minecrea.electric.item;

import net.minecrea.electric.init.ElectricModTabs;
import net.minecrea.electric.init.ElectricModFluids;

import net.minecraft.world.level.Level;
import net.minecraft.world.item.TooltipFlag;
import net.minecraft.world.item.Rarity;
import net.minecraft.world.item.Items;
import net.minecraft.world.item.ItemStack;
import net.minecraft.world.item.Item;
import net.minecraft.world.item.BucketItem;
import net.minecraft.network.chat.TextComponent;
import net.minecraft.network.chat.Component;

import java.util.List;

public class ElectricWaterItem extends BucketItem {
	public ElectricWaterItem() {
		super(ElectricModFluids.ELECTRIC_WATER,
				new Item.Properties().craftRemainder(Items.BUCKET).stacksTo(1).rarity(Rarity.COMMON).tab(ElectricModTabs.TAB_MINEELEC_TAB));
	}

	@Override
	public void appendHoverText(ItemStack itemstack, Level world, List<Component> list, TooltipFlag flag) {
		super.appendHoverText(itemstack, world, list, flag);
		list.add(new TextComponent("\u6CA1\u4E8B\u522B\u4E71\u78B0\uFF01"));
	}
}
